#!/usr/bin/env node



const cp = require('child_process');

cp.execFile('cat data.txt | sort | uniq',(error,stdout,err) => {
  if(error){
    console.error(err.toString('utf8'));
  }else{
    console.log(stdout.toString('utf8'));
  }
});

